package com.example.spring_trans.mapper;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: Li_yizYa
 * Date: 2025/7/25
 * Time: 13:23
 */
@Mapper
public interface UserMapper {

    @Insert("insert into user_info (`user_name`, `password`) values (#{name}, #{password})")
    Integer insert(String name, String password);
}
